package com.lechuang.songbo.view.activity.home;


import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.lechuang.songbo.R;
import com.lechuang.songbo.base.LazyBaseFragment;
import com.lechuang.songbo.model.bean.HomeLastProgramBean;
import com.lechuang.songbo.view.activity.recyclerView.GetInfoAdapter;
import com.lechuang.songbo.view.defineView.MListView;

import java.util.ArrayList;
import java.util.List;


/**
 * Created by Administrator on 2017/9/27.
 */

public abstract class CommFragment extends LazyBaseFragment implements OnKeyShareCallback{
    private View v;
    protected RecyclerView mRecyclerView;

    protected boolean mFirstLoadData = true;
    protected static final int PAGE_COUNT = 10;//每页显示的item数目
    protected int rootId = -1;//当前页面的分类id
    protected List<HomeLastProgramBean.ListBean> productList = new ArrayList<>();
    protected MListView mgv;
    protected GetInfoAdapter infoAdapter;
    public CommFragment(){

    }

    @Override
    public  void initView(View root) {

        mgv = (MListView) root.findViewById(R.id.mgv);
    }

}
